<jsp:include page="/WEB-INF/jsp/include/head.jsp" />
<%@ page language="java" pageEncoding="utf-8" %>
<div class="container">
    <div class="col-md-8">

    </div>
    <div class="col-md-4">
        <div class="panel panel-default">
            <div class="panel-heading">用户注册</div>
            <div class="panel-body">
                <form method="post" action="${pageContext.request.contextPath}/public/register">
                    <div class="form-group">
                        <label for="exampleInputEmail1">用户名</label>
                        <input type="text" name="user" class="form-control" id="exampleInputEmail1" placeholder="用户名">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">密码</label>
                        <input type="password" name="pass" class="form-control" id="exampleInputPassword1" placeholder="密码">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword2">确认密码</label>
                        <input type="password" name="repass" class="form-control" id="exampleInputPassword2" placeholder="确认密码">
                    </div>
                    <button type="submit" class="btn btn-default">注册</button>
                    <a href="${pageContext.request.contextPath}/public/login">有账号？去登录</a>
                </form>
            </div>
        </div>
    </div>
</div>
<jsp:include page="/WEB-INF/jsp/include/footer.jsp" />